package com.example.mapper;

import com.example.domain.Address;
import com.example.domain.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.Map;

@Repository
public interface AddressMapper {

    //根据主键id查询一条信息
//    List<Admin> selectList();

    Address selectById(Long id);

    List<Address> selectByAdmin(Address address);

    Address selectByAddressCode(String 程, String number);

    int AddressBatchInsert(List<Address> address);

    int updatePasswordById(Address address);

    List<Address> selectByUserConditionWithTrim(Address address);

    List<Address> selectByIds(Long[] ids);
}
